﻿namespace SLClient.CustomerControls
{
    using SLClient.Extension;
    using SLClient.ServiceAPI;
    using System;
    using System.Linq;

    public class NxScaleInfo
    {
        public static decimal[] GetPlayScaleShowInfo(int playId, int num)
        {
            PlayTypeInfo info = Enumerable.FirstOrDefault<PlayTypeInfo>(ViewDispatcher.PlayTypeInfos, 
                new Func<PlayTypeInfo, bool>((s)=>{ return (s.PlayInfoId == playId);}));
            return new decimal[] { info.JiangJin, info.ScaleBase };
        }
    }
}

